<div class="tableform widgetconfig">
<div class="division">
    <{assign var=filter1 value=$setting.adjunct.items.0}>
<{input type="goodsfilter" app=b2c name="filter" value=array('items'=>$filter1)}>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th><{t app='b2c'}>排行依据：<{/t}></th>
    <td>
    		    <select name="ranking"> 
		<{foreach from=$data item=orderby key=key}>
		<option value="<{$key}>" <{if $setting.ranking==$key}>selected<{/if}>><{$orderby.label}></option>
		<{/foreach}>
		</select></td>
  </tr>
  <tr>
    <th><{t app='b2c'}>一次滚屏商品数目：<{/t}></th>
    <td><{input name="stepnum" value=$setting.stepnum|default:'5'}></td>
  </tr>
  <tr>
    <th><{t app='b2c'}>榜单显示商品数：<{/t}></th>
    <td><{input name="limit" value=$setting.limit|default:'10' size=8 required="true" type="digits"}></td>
  </tr>
  <tr>
    <th><{t app='b2c'}>字体颜色：<{/t}></th>
    <td><{input type="color" name="fontColor2" value=$setting.fontColor2|default:'default'}></td>
  </tr>

   <tr>
    <th><{t app='b2c'}>商品名最长显示长度：<{/t}></th>
    <td><{input name="maxlength" value=$setting.maxlength|default:"35"}></td>
  </tr>
</table>
</div>
</div>